dreamweaver.cssStylePalette.getSelectedStyle()

Availability 3.0
Description Gets the name of the style that is currently selected in the Style palette.
Arguments None.
Returns A string representing the name of the style, or an empty string if no style is selected.
Enabler None.
Example If the style red is selected, as shown, a call to dw.cssStylePalette.getSelectedStyle() returns "red".